class Student {
    private String name;
    private int age;
    private static String classRoom = "107直播间";  // 在方法区

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static String getClassRoom() {
        return classRoom;
    }

    public static void setClassRoom(String classRoom) {
        Student.classRoom = classRoom;
    }

    public void doClass() {
        System.out.println(name + "上课");
    }

    public static void func() {
        System.out.println("StaticFun()");
    }
}

public class test_11_09 {
    public static void main(String[] args) {
        Student.func();
    }
}
